$(function (){

  $.ajax({
    url: "http://193.112.55.79:9090/api/getindexmenu",
    type:"get",
    dataType:"json",
    success:function (res){
      console.log(res);
      var htmlStr = template("nav_tmp",res)
      $(".mmb_nav ul").html(htmlStr)
    }
  })
})